<?php
/**
 * Smarty plugin
 * @package Smarty
 * @subpackage plugins
 */


/**
 * Smarty premier maj modifier plugin
 *
 * Type:     modifier<br>
 * Name:     premier_maj<br>
 * Purpose:  Capitalize the first caracter
 * @author   Titou
 * @param string
 * @return string
 */
function smarty_modifier_premier_maj($string)
{
    $string[0] = strtoupper($string[0]);
    return $string;
}

?>
